<?php


namespace app\common\model;


use think\Model;

class Pushdata extends Model
{
        public function getpushdata($condition,$field='*'){
            return db('pushdata')->where($condition)->field($field)->select();
        }
        public function addxml($condition,$data){
            return db('pushdata')->where($condition)->update($data);
        }
}